<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8">
<link rel="stylesheet" href="../../common/css/sapar.css" />
<link rel="stylesheet" type="text/css" href="../../common/css/common.css" />
<link rel="stylesheet" type="text/css" href="../ticket/css/PNR.css" />
<link rel="stylesheet" type="text/css" href="../user/css/user.css" />

<script type="text/javascript" src="../../common/js/jquery.js"></script>
<script type="text/javascript" src="../../common/js/sapar.js"></script>
<script type="text/javascript" src="../../common/js/WdatePicker.js"></script>
<script type="text/javascript" src="../../../../../assets/layer/layer.js"></script>

<script type="text/javascript">
	function alertmingxi(){
		alert(1);
			  layer.open({
			  type: 2,
			  title: '医疗包明细',
			  maxmin: true,
			  shadeClose: true, //点击遮罩关闭层
			  area : ['800px' , '520px'],
			  content: 'iframe.html'
			  });
			
	}
	

	//{depart:,package:,num:}
	function callbackData(data){
		//$("#tpaTable tbody").empty();
		
		/* var str = '';
		for(var i = 0;i<data.length;i++){
			str += checkstr(data[i]);
		}
		$("#tpaTable tbody").append(str) */
		
		alert(data);
	}
	//
	
	
	function checkstr(data){
		var obj = $("#" +data.packId);
		if(obj.length>0){
			//修改行之为数量 然后返回""
			var sum_pre = $("#"+data.packId).val();
			sum_next = arseInt(sum_pre) +  parseInt(data.num);
			$("#"+data.packId).val(sum_next);
			return "";
		}else{
			return '<tr id="'+data.packId+'"><td class="text-left">'+data.packName+'</td><td class="text-left"><input type="hidden" name="packId" value="'+data.packId+'"/><input type="text"  class="gui-input" name="packNum"  id="'+data.packNum+'" value="'+data.packNum+'"/></td></tr>'; 
		}
	}

</script>
<title>团队票申请</title>
</head>

<body>
    <div id="saper-container">
        <div id="saper-hd"></div>
        <div id="saper-bd">
            <div class="subfiled clearfix">
                <h2>无条码回收</h2>
            </div>
            
            <div class="subfiled-content">
                <div class="subfiled-style2 clearfix">
                    <h2>网篮信息</h2>
                </div>
                <form class="create-order">
                    <div class="add-box clearfix">
                        <div class="kv-item clearfix">
                            <label>网篮条码：</label>
                            <div class="kv-item-content">
                                <input type="text" placeholder="网篮条码">
                            </div>
                        </div>
                        <div class="kv-item clearfix">
                            <label>网篮名称：</label>
                            <div class="kv-item-content">
                                <input type="text" placeholder="网篮名称" >
                            </div>
                        </div>
                    </div>
                </form>
                <div class="subfiled-style2 clearfix">
                    <h2>包数据</h2>
                </div>
                <form class="children-order">
                     <!--表格开始-->
                <div class="table">
                    <!--表格操作-->
                    <div class="table-operate ue-clear">
                    	<a href="javascript:;" class="add">新增回收包</a>
                    	
                        <a href="javascript:;" class="del">全部删除</a>
                    </div>
                    <!--表格具体内容-->
                    <div class="table-box">
                        <table id="tpaTable">
                            <thead>
                                <tr> 
                                    <th>包名称</th>
                                    <th>包数量</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody >
                                <tr>
                                    
                                    <td>胸外包</td>
                                    <td>1</td>
                                    <td><a href="javascript:;">删除</a>&nbsp;&nbsp;<a href="javascript:alertmingxi();" >查看明细</a></td>
                                </tr>
                                 <tr>
                                    
                                    <td>脑科包</td>
                                    <td>1</td>
                                    <td><a href="javascript:;">删除</a>&nbsp;&nbsp;<a href="javascript:;">查看明细</a></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div><!--表格结束-->
                </form>
                <!-- 缺失登记 -->
                <div class="subfiled-style2 clearfix">
                    <h2>缺失信息</h2>
                </div>
                <div class="table">
                <div class="table-box">
                        <table>
                            <thead>
                                <tr>
                                    
                                    <th>包名称</th>
                                    <th>器械名</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    
                                    <td>胸外包</td>
                                    <td>1</td>
                                    <td><a href="javascript:;">删除</a>&nbsp;&nbsp;<a href="javascript:alertmingxi();" >查看明细</a></td>
                                </tr>
                                 <tr>
                                    
                                    <td>脑科包</td>
                                    <td>1</td>
                                    <td><a href="javascript:;">删除</a>&nbsp;&nbsp;<a href="javascript:;">查看明细</a></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- 人员信息录入 -->
                <div class="subfiled-style2 clearfix">
                    <h2>人员信息</h2>
                </div>
                <form class="create-order">
                    <div class="add-box clearfix">
                        <div class="kv-item clearfix">
                            <label>交接人：</label>
                            <div class="kv-item-content">
                                <input type="text" placeholder="交接人">
                            </div>
                        </div>
                        <div class="kv-item clearfix">
                            <label>回收人：</label>
                            <div class="kv-item-content">
                                <input type="text" placeholder="回收人">
                            </div>
                        </div>
                        
                        <div class="kv-item clearfix">
                            <label></label>
                            <div class="kv-item-content">
                                <a href="javascript:;" class="sapar-btn sapar-btn-recom query-btn" id="baocun">保存</a>
                            </div>
                        </div>
                    </div>
                </form>
                
                
                
                <div class="alert alert-danger" role="alert">
                    <div class="alert-content">
                        <p style="color:red;font-weight:bold;">PNR操作提示：</p>
                        <ul>
                            <li>1.PNR下单支持：单程、特价、往返、联程、儿童pnr</li>
                            <li>2.PNR为"HK、RR"状态</li>
                            <li>3.本功能仅允许导入代理人系统生成的PNR（小编号），不支持航空公司系统生成的PNR（大编号）</li>
                            <li>4.请勿在订座系统中对入库后的PNR进行任何操作</li>
                            <li>5.请在出票时限前三十分钟提交开票，以免航空公司取消位置，发生价格变化，三十分钟内提交开票的，在开票过程中一旦位置取消，平台不承担任何责任</li>                            
                        </ul>
                    </div>
                    <div class="alert-content">
                        <p style="color:red;font-weight:bold;">儿童PNR下单操作提示：</p>
                        <ul>
                            <li>1.更新提示：南航（CZ）儿童需要加以下SSR项指令：SSR CHLD航空公司代码 Action-Code1/出生日期/Pn<br/>例如：<strong>SSR CHLD CZ HK1/03MAR04/P1</strong></li>
                            <li>2.儿童需有成人陪乘，一名成人最多带两个儿童，请将成人PNR编码输入到儿童PNR编码里<br/>例如：<strong>SSR OTHS 航空公司二字码 ADULT PNR IS 成人编码</strong></li>
                            <li>3.儿童票年龄为2至12周岁内</li>
                            <li>4.儿童订购的舱位只能是Y舱、C舱、F舱</li> 
                        </ul>
                    </div>
                    
                </div>
            </div>
        </div>
        <div id="saper-ft"></div>
    </div>
    
</body>

<script type="text/javascript">

$('select').iSelect();
$(function(){
	$(".add").click(function(){
		layer.open({
			  type: 2,
			  title: '医疗包明细',
			  maxmin: true,
			  shadeClose: true, //点击遮罩关闭层
			  area : ['800px' , '520px'],
			  content: 'addhuishou.html'
			  });
	});
});
</script>
</html>